﻿
using System.ComponentModel.DataAnnotations;

namespace HiSportApplet.Application.Service.Bas.MiniProgramManagement.Dtos
{
    public  class MiniLoginInputDto
    {
        /// <summary>
        /// 小程序AppId
        /// </summary>
        [Required(ErrorMessage = "AppID不能为空")]
        public string AppId { get; set; }

        /// <summary>
        /// 登录Code
        /// </summary>
        [Required(ErrorMessage = "请求Code不能为空")]
        public string Code { get; set; }

        /// <summary>
        /// 用于登录还是获取手机号码
        /// </summary>
        public bool IsLogin { get; set; }
    }
}
